﻿using System;

namespace BookStore
{
    public class NonfictionBook : Book
    {
        private NonfictionGenre genre;

        public NonfictionGenre Genre
        {
            get { return this.genre; }
            set { genre = value; }
        }

        public NonfictionBook(string name, Publisher publisher, string contentType, decimal price, string author, int pages, NonfictionGenre genre)
            : base(name, publisher, contentType, price, author, pages)
        {}
    }
}
